package com.castle.fortress.admin.temp.mapper;

import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.castle.fortress.admin.temp.entity.TempTreeTableEntity;
import java.util.Map;
import java.util.List;
/**
 * 生成左树右表示例Mapper 接口
 *
 * @author 
 * @since 2023-08-02
 */
public interface TempTreeTableMapper extends BaseMapper<TempTreeTableEntity> {

	/**
	 * 扩展信息列表
	 * @param pageMap
	 * @param tempTreeTableEntity
	 * @return
	 */
	List<TempTreeTableEntity> extendsList(@Param("map")Map<String, Long> pageMap, @Param("tempTreeTableEntity") TempTreeTableEntity tempTreeTableEntity);

	/**
	 * 扩展信息记录总数
	 * @param tempTreeTableEntity
	 * @return
	 */
	Long extendsCount(@Param("tempTreeTableEntity") TempTreeTableEntity tempTreeTableEntity);

	/**
	 * 生成左树右表示例扩展详情
	 * @param id 生成左树右表示例id
	 * @return
	 */
      TempTreeTableEntity getByIdExtends(@Param("id")Long id);



}

